import website  from '@/framework-core/config/website';
import {validateRules} from "@/framework-core/utils/validateRule";

export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "#",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "searchMenuSpan": 6,
    searchEnter:true,
    selection: true,
    grid: window.isMobile,
    gridSpan: 24,
    menuWidth: 340,
  "column": [


        {
            "type": "input",
            "label": "编码",
            "prop": "code",
            "overHidden": false,

            "rules": [{
                required:true,
                message: '编码不能为空',
                trigger: 'blur'
            }],
            'search':  true,
            "span": 12
        }

,
        {
            "type": "input",
            "label": "提示词",
            "prop": "content",
            "overHidden": true,
            "rules": [{
                required:true,
                message: '提示词不能为空',
                trigger: 'blur'
            }],
            'search':  true,
            "span": 12
        }

,
        {
            "type": "input",
            "label": "模型",
            "prop": "model",
            "overHidden": false,
            'search':  true,
            "span": 12
        }
  ]
}
